import * as dev from './dev'
import * as release from './release'


const {
  miniProgram: {
    envVersion
  }
} = wx.getAccountInfoSync();

let env
switch (envVersion) {
  case 'develop':
    env = dev
    break;
  case 'release':
    env = release
    break;
  case 'trial':
    env = release
    break;
}

export default env